<%@ page pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>${param.title }</title>
 <!-- Bootstrap CSS -->
<link rel="stylesheet" href="${pageContext.request.contextPath }/bootstrap/4.3.1/css/bootstrap.min.css">
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="${pageContext.request.contextPath }/jquery/3.4.1/jquery-3.4.1.min.js" ></script>
<script src="${pageContext.request.contextPath }/popper/popper.min.js"></script>
<script src="${pageContext.request.contextPath }/bootstrap/4.3.1/js/bootstrap.min.js"></script>
</head>
<body>
<!-- Modal -->
<div >
	<div class="modal-dialog" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<h5 class="modal-title text-info">分类增加</h5>

					
				</button>
			</div>
			<form method="post" action="..${pageContext.request.contextPath }/add_type.action">
				<div class="modal-body">
					<div class="form-group row">
						<label class="col-sm-2 col-form-label">类型名称</label>
						<div class="col-sm-10">
							<input class="form-control" id="typename" name="type_name" type="text" required />
							<span class="text-danger" id="checkInfo"></span>
						</div>
						
					</div>
					
				<div class="modal-footer">
					<button type="button" class="btn btn-secondary"
						data-dismiss="modal">关闭</button>
					<button type="submit" class="btn btn-primary" id="regButton">确定</button>
				</div>
			</form>
		</div>
	</div>
</div>
</body>
</html>